﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileConvert
{
    /// <summary>
    /// 文件转换规范
    /// </summary>
    public interface IFileConvert
    {
        /// <summary>
        /// 文件转换
        /// </summary>
        /// <param name="path">文件路径</param>
        /// <param name="type">要转的文件类型</param>
        MessageEntity Convert(string path);
        /// <summary>
        /// 文件转换
        /// </summary>
        /// <param name="path">文件路径</param>
        /// <param name="type">要转的文件类型</param>
        /// <param name="IsGenerateImage">是否要生成图像</param>
        MessageEntity Convert(string path, bool IsGenerateImage);

    }
}
